package com.leen.user.service;

/**
 *service继承该类增删改
 * @author zhx
 * @date 2021/05/21
 * @param <T>
 * @param <ID>
 */
public interface CrudService<T,ID> {
    <S extends T> S save(S entity);
    void deleteById(ID id);
    Iterable<T> findAll();
}
